#include<stdio.h>
int main()
{
	int ch = getchar();
	printf("%c\n", ch);
	putchar(ch);
	return 0;
}